#ifndef BASE_LOCKMUTEX_H
#define BASE_LOCKMUTEX_H
class LockMutex
{
	public:
 	void lock();
	void unlock();
};

class AutoLockMutex
{
	LockMutex mutex;
	public:
		AutoLockMutex()
		{
			mutex.lock();
		}
		~AutoLockMutex()
		{
			mutex.unlock();
		}

};
#endif
